package model

// Paging 分页
type Paging struct {
	Limit int `json:"limit"  dc:"当前条数/默认值:10" d:"10"`
	Page  int `json:"page"  dc:"当前页码/默认值:1" d:"1"`
}

// PutPage 计算分页相关的参数
type PutPage struct {
	Limit     int     `json:"limit"  dc:"当前条数" d:"10"`
	Page      int     `json:"page"  dc:"当前页码" d:"1"`
	CountNum  int     `json:"countNum"  dc:"总条数"`
	CountPage float64 `json:"countPage"  dc:"总页数"`
}
